package com.fy56.platform.logistics.service.impl;

import com.fy56.platform.logistics.common.ResultModel;
import com.fy56.platform.logistics.common.ResultStatus;
import com.fy56.platform.logistics.mapper.UserCompanyMapper;
import com.fy56.platform.logistics.mapper.VipCardMapper;
import com.fy56.platform.logistics.mapper.VipMapper;
import com.fy56.platform.logistics.mapper.VipOpenidRelateMapper;
import com.fy56.platform.logistics.model.*;
import com.fy56.platform.logistics.service.wx.IVipCardService;
import com.fy56.platform.logistics.service.wx.IVipService;
import com.fy56.platform.logistics.utils.IdWorkerTools;
import com.fy56.platform.logistics.utils.MD5Util;
import com.fy56.platform.logistics.utils.StringUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;


/**
 * VIP用户Service
 * Created by li on 2018-01-29.
 */
@Service
public class VipCardServiceImpl implements IVipCardService {

    @Autowired
    private VipCardMapper vipCardMapper;

    @Override
    @Transactional(readOnly = true)
    public List<VipCard> select(VipCard entity) {
        return vipCardMapper.select(entity);
    }

    @Override
    @Transactional(readOnly = true)
    public VipCard selectByPrimaryKey(Long id) {
        return vipCardMapper.selectByPrimaryKey(id);
    }


    @Override
    @Transactional(readOnly = false)
    public ResultModel insertSelective(VipCard entity) {
        return null;
    }

    @Override
    @Transactional(readOnly = false)
    public ResultModel update(VipCard entity) {
        return null;
    }


    @Override
    @Transactional(readOnly = false)
    public ResultModel delete(Long id) {
        return null;
    }


    @Override
    public VipCard get(VipCard entity) {
        return null;
    }

    @Override
    @Transactional(readOnly = false)
    public ResultModel insert(VipCard entity) {
        return null;
    }

    @Override
    public List<VipCard> findList(VipCard entity) {
        return null;
    }

    @Override
    @Transactional(readOnly = false)
    public ResultModel updateSelective(VipCard entity) {
        return null;
    }

    @Override
    public ResultModel delete(VipCard entity) {
        return null;
    }
}
